package cn.huiyunche.base.service.mappers.ext;

import cn.huiyunche.base.service.model.BArea;
import cn.huiyunche.base.service.model.BAreaExample;
import cn.huiyunche.base.service.vo.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BAreaViewMapper {
    int countByExample(BAreaExample example);

    List<BArea> selectByExample(BAreaExample example);

    BArea selectByPrimaryKey(String code);

    List<BAreaCityRatingVo> selectByConditions(@Param(value = "page") PageVo page, @Param(value = "recode") BAreaCityRatingVo bAreaCityRatingVo);

    Integer updateByConditions(@Param(value = "recode") BAreaCityRatingVo recode);

    int getCount(@Param(value = "recode") BAreaCityRatingVo recode);

    List<BAreaVo> selectBArea(@Param(value = "code") String code, @Param(value = "params") String params, @Param(value = "isVeneer") Boolean isVeneer);

    List<BCityVo> selectCities(String code);

    List<BAreaSearchVo> selectLikeName(@Param(value = "province") String provinceName, @Param(value = "city") String cityName, @Param(value = "county") String countyName);
}